package com.quartet.api;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 项目名称: allround
 *
 * @ClassName PageResult
 * @Description 分页返回结果封装
 */
@Data
@ApiModel(value = "分页返回结果", description = "分页返回结果")
public class PageResult<T> {

    /** 总记录数 */
    @ApiModelProperty(value = "总记录数 ", name = "total", required = true)
    private Long total;

    /** 每页记录数 */
    @ApiModelProperty(value = "每页记录数", name = "total")
    private List<T> data;
}
